package com.violation.model;

import java.util.List;

public class ViolationDAO_JDBC_Demo {
	public static void main(String[] args) {
		ViolationDAO_JDBC dao = new ViolationDAO_JDBC();
		
//		ViolationVO v = dao.getByViolation_id(13);
//		System.out.print(v.getName() + " | ");
//		System.out.println(v.getDescription());
		
//		List<ViolationVO> list = dao.getAll();
//		for(ViolationVO v : list){
//			StringBuilder sb = new StringBuilder();
//			sb.append(v.getName() + " | ");
//			sb.append(v.getDescription());
//			System.out.println(sb);
//		}
	}
}
